package com.kaikai.edu.entity.subject;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 一级分类
 */
@Data
public class OneSubject {

    private String id;

    private String title;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    private Boolean isShow;

    @ApiModelProperty(value = "父级id")
    private String parentId;

    List<TwoSubject> children = new ArrayList<>();

}
